INCLUDEPATH += "C:/Program Files (x86)/AMD APP/include"
LIBS += -L"C:/Program Files (x86)/AMD APP/lib/x86"

INCLUDEPATH += $$PWD

CONFIG(debug, debug|release) {
    LIBS += -lQtOpenCLd
    TARGET = $$member(TARGET, 0)d
}

!CONFIG(debug, debug|release) {
    LIBS += -lQtOpenCL
    TARGET = $$member(TARGET, 0)
}

macx:!opencl_configure {
    LIBS += -framework OpenCL
}
win32 {
    !isEmpty(QMAKE_INCDIR_OPENCL) {
        QMAKE_CXXFLAGS += -I$$QMAKE_INCDIR_OPENCL
    }
    !isEmpty(QMAKE_LIBDIR_OPENCL) {
        LIBS += -L$$QMAKE_LIBDIR_OPENCL
    }
    !isEmpty(QMAKE_LIBS_OPENCL) {
        LIBS += $$QMAKE_LIBS_OPENCL
    } else {
        LIBS += -lOpenCL
    }
}
